<?php

class DeliveryList extends CWidget {

    public function run() {
        $baseUrl = Yii::app()->request->baseUrl . '/';
        $models = Delivery::model()->findAll('active = 1');
        $this->render('delivery', array('baseUrl' => $baseUrl, 'models' => $models));
    }

}
